package org.ysh.mapper;

import org.ysh.domain.UserRole;

import java.util.List;

public interface UserRoleMapper extends BaseMapper<Integer,UserRole>{

    void deleteUserRoleByRole(int roleId);

    void deleteUserRoleByUser(int userId);

    List<String> findRoleNamesByUserId(int userId);
}
